package com.xb.loan.account.service.constant;

/**
 * 北京掌中彩信息科技有限公司源代码，版权归北京掌中彩信息科技有限公司所有。
 * 
 * 项目名称 : common-service
 * 创建日期 : 2015年9月17日
 * 修改历史 : 
 *     1. [2015年9月17日]创建文件 by wenju.song
 */
public interface AccountConst {

	/**账目分类*/
	final int FeeType_Default = 0;
	
	/**银行充值*/
	final int BillType_Charge = 1001;
//	/**银行充值失败退款*/
//	final int BillType_Charge_Refund = 2001;
	/**银行提现扣款*/
	final int BillType_Encash = 2002;
	/**银行提现失败退款*/
	final int BillType_Encash_Refund = 1002;
	/**购彩扣费*/
	final int BillType_Purchase_Lottery = 2004;
	/**购彩退款*/
	final int BillType_Purchase_Lottery_Refund = 1004;
	/**渠道手工缴款*/
	final int BillType_OSS_Charge = 1003;
	/**渠道代彩民充值转出*/
	final int BillType_Proxy_Charge_Out = 2021;
	/**彩民在渠道充值转入*/
	final int BillType_Proxy_Charge_In = 1021;
	/**彩民在渠道提现转出*/
	final int BillType_Proxy_Encash_Out = 2022;
	/**渠道代彩民提现转入*/
	final int BillType_Proxy_Encash_In = 1022;
	/**渠道间转账转出*/
	final int BillType_Transfer_Out = 2023;
	/**渠道间转账转入*/
	final int BillType_Transfer_In = 1023;
	/**派奖*/
	final int BillType_Exchage_Prize = 1005;
	/**代销费*/
	final int BillType_Marketing_Costs = 1006;
	/**调账*/
	final int BillType_Adjust_Marketing_Costs = 3001;
	/**渠道代扣购彩转出*/
	final int BillType_Proxy_Pay_Out = 2041;
	/**购彩失败代扣转入*/
	final int BillType_Proxy_Pay_Refund_In = 1041;
	/**购彩失败转出代缴*/
	final int BillType_Proxy_Pay_Refund_Out = 2042;
	/**彩民收渠道代缴*/
	final int BillType_Proxy_Pay_In = 1042;
	/**购彩奖金转出*/
	final int BillType_Proxy_Exchage_Out = 2043;
	/**购彩奖金转入*/
	final int BillType_Proxy_Exchage_In = 1043;
	/**渠道垫付转出*/
	final int BillType_Credit_Pay_Out = 2031;
	/**渠道垫付失败退回*/
	final int BillType_Credit_Pay_Refund_In = 1031;
	/**购彩失败转出垫付*/
	final int BillType_Credit_Pay_Refund_Out = 2032;
	/**彩民收渠道垫付*/
	final int BillType_Credit_Pay_In = 1032;
	/**彩民奖金提现*/
	final int BillType_Credit_Exchage_Encash = 2033;
	/**彩民奖金失败退回*/
	final int BillType_Credit_Exchage_Refund = 1033;
	
	/**账户状态：正常*/
	final int AccountStatus_Normal = 0;
	/**账户状态：冻结*/
	final int AccountStatus_FREEZED = 0;
	/**账户状态：注销*/
	final int AccountStatus_LOGOFF = 0;
	/**账户状态：未激活*/
	final int AccountStatus_NONACTIVATED = 0;
	
	/**是否冲正：否*/
	final int Flushes_No = 0;
	/**是否冲正：是*/
	final int Flushes_Yes = 1;
	
	/** Redis生成主键序列：名称 */
	final String PriKey_Name = "account";
	/** Redis生成主键序列：每秒内10000条 */
	final int PriKey_Length = 6;
}